namespace Medical.Api.Read.Dto.BasicManagement.DeviceClassificationDictionaryDto
{
    /// <summary>
    /// 器械分类树状结构数据传输对象
    /// </summary>
    public class ApparatusTypeTreeDto
    {
        /// <summary>
        /// 分类ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 分类编码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 上级分类ID
        /// </summary>
        public int? ParentId { get; set; }

        /// <summary>
        /// 状态（0:禁用,1:启用）
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 子分类列表
        /// </summary>
        public List<ApparatusTypeTreeDto> Children { get; set; } = new List<ApparatusTypeTreeDto>();
    }
}